Skip to content

[opentelemetry] Split enable_opentelemetry into enable_metrics and enable_tracing#1504

Merged
mickmis merged 2 commits into
interuss:masterfrom
Orbitalize:split_monitoring_flags
Jun 11, 2026
Merged

[opentelemetry] Split enable_opentelemetry into enable_metrics and enable_tracing#1504
mickmis merged 2 commits into
interuss:masterfrom
Orbitalize:split_monitoring_flags

Conversation

@the-glu

@the-glu the-glu commented Jun 2, 2026

Copy link
Copy Markdown
Member

This PR follow #1503

It split the enable_opentelemetry flag into two dedicated sub flags.

Preparing deployments files to add DSS metrics, it doesn't make sense to enable full tracing just for 'normal' Prometheus metrics, especially as it show warning if partially configured.

No backward compatibly added, as the flag is very new, needed manual work to be used and only tracing has been released, who shall only be used for debugging.

@mickmis mickmis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No backward compatibly added, as the flag is very new, needed manual work to be used and only tracing has been released, who shall only be used for debugging.

If it's been released we should have backward compatibility: even if within our development timeline this is a short window of time, who knows how much time there will be between version upgrades for the users.
Given that only the tracing has been released: just have 'enable_telemetry' be an alias of 'enable_tracing' and add a deprecation notice in the usage of the flag?

Otherwise LGTM

Comment thread docs/operations/monitoring.md
Comment thread cmds/core-service/otel.go Outdated
Comment thread NEXT_RELEASE_NOTES.md Outdated
@the-glu the-glu force-pushed the split_monitoring_flags branch 2 times, most recently from 0f8e79a to 2b8cae1 Compare June 10, 2026 07:57
@the-glu the-glu requested a review from mickmis June 10, 2026 07:57
Comment thread NEXT_RELEASE_NOTES.md Outdated
@the-glu the-glu force-pushed the split_monitoring_flags branch from 2b8cae1 to 689f4ce Compare June 11, 2026 12:51
Co-authored-by: Mickaël Misbach <mickael.misbach@orbitalize.com>
@mickmis mickmis merged commit 112025e into interuss:master Jun 11, 2026
12 checks passed
@mickmis mickmis deleted the split_monitoring_flags branch June 11, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants